package com.woshengqile.api.common.cart;
//package com.jfinalshop.api.common.cart;
//import java.io.Serializable;
//
//import org.apache.commons.lang3.SerializationUtils;
//import org.apache.shiro.codec.Base64;
//
//import com.jfinalshop.model.Cart;
//
//public class CartSerializationUtils {
//
//	public static String serialize(Cart cart) {
//    	return  Base64.encodeToString(SerializationUtils.serialize((Serializable) cart));
//    }
//    
//    public static Cart deserialize(String cartDeserialize) {
//    	return (Cart) SerializationUtils.deserialize(Base64.decode(cartDeserialize));
//    }
// 
//}